function App() {
    const isBlack = false;
    const list = [{name: 'admin'}, {name: 'lucy'}, {name: '蔡徐坤'}]
    return <div>
        {
            list.map(item => <div key={item.name}>
                {item.name}
            </div>)
        }
    </div>;
}

ReactDOM.createRoot(document.querySelector('#root')).render(
    <App />
);